package com.lee.viodtest;

import android.app.Application;
import android.content.Context;

import java.util.concurrent.TimeUnit;

/**
 * @类名: ${type_name}
 * @功能描述:
 * @作者: ${user}
 * @时间: ${date}
 * @最后修改者:
 * @最后修改内容:
 */
public class MyApplication extends Application {

    public static String TAG = "MyApplication";

    public static Context AppContext;
    private static MyApplication mMyApplication;

    @Override
    public void onCreate() {
        super.onCreate();

        mMyApplication = this;


    }


    public static MyApplication getApplication() {
        return mMyApplication;
    }


    public static Context getContext() {
        return AppContext;
    }
    public static void setContext(Context ctx) {
        AppContext = ctx;
    }

    @Override
    public void onTerminate() {

        super.onTerminate();
    }


}
//jhfghfh